﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TouchPoint.Documents
{
    using Microsoft.Graphics.Canvas.Text;
    using TouchPoint.Core;
    using TouchPoint.Render;

    public class TextElement : RenderElement
    {
        /// <summary>
        /// 文本内容的起始索引位置
        /// </summary>
        public int StartPos { get; set; }

        /// <summary>
        /// 文本内容的结束索引位置位置
        /// </summary>
        public int EndPos { get; set; }

        /// <summary>
        /// 当前文本内容的格式(如果是同样的样式请引用相同实例)
        /// </summary>
        public CanvasTextFormat Format { get; set; }

        public override void Draw(DrawingContext context)
        {
            
        }
    }
}
